
<!-- 新增广告位 modal -->
<div  id="meta" class="modal fade " tabindex="-1" role="dialog" >
    <div class="modal-dialog modal-lg" role="document" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="exampleModalLabel">新增广告位</h4>
            </div>
            <div class="modal-body" style="overflow:auto">
                <form action="#" method="post" id="mForm">
                    <div class="form-group" style="display:none">
                        <label class="control-label col-lg-3">开发者ID</label>
                        <div class="col-lg-8">
                            <input  class="form-control " name="did" id="devId"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3">网站地址</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control " name="pwebsiteurl"/>
                        </div>
                    </div>

                    <!--<div class="form-group" >-->
                    <!--<label class="control-label col-lg-3">物料图片</label>-->
                    <!--<div class="col-lg-8 ">-->
                    <!--<div class="bg-light pull-left text-center media-large thumb-large"><i class="icon-picture inline icon-light icon-3x m-t-large m-b-large"></i></div>-->
                    <!--<div class="media-body " style="margin-top:45px"  >-->

                    <!--<input type="file" name="pic" title="选择图片"class="btn btn-default btn-small" >-->
                    <!--</div>-->
                    <!--</div>-->
                    <!--</div>-->

                    <div class="form-group">
                        <label class="control-label col-lg-3">网站备案号</label>
                        <div class="col-lg-8">
                            <input type="url" class="form-control " name="pwebsitenum"/>
                        </div>
                    </div>

                    <div class="form-group" >
                        <label class="control-label col-lg-3" ></label>
                        <div class="col-lg-8">

                            <input type="button" class="btn btn-white pull-right "  style="margin-top: 20px; " data-dismiss="modal" value="关闭" />
                            <input type="button" class="btn btn-success pull-right" onclick="newAdPosition()" data-dismiss="modal" style="margin-right: 10px;margin-top:20px  " value="提交"/>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer  " >
            </div>
        </div>
    </div>
</div>

<!--修改广告位信息-->
<div  id="editAdPosition" class="modal fade " tabindex="-1" role="dialog" >
    <div class="modal-dialog modal-lg" role="document" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" >编辑广告位信息</h4>
            </div>
            <div class="modal-body" style="overflow:auto">
                <form action="#" method="post" id="mForm1">
                    <div class="form-group" style="display:none">
                        <label class="control-label col-lg-3">广告位ID</label>
                        <div class="col-lg-8">
                            <input  class="form-control " name="adpositionid" id="adPositionId"/>
                        </div>
                    </div>
                    <div class="form-group" style="display:none">
                        <label class="control-label col-lg-3">开发者ID</label>
                        <div class="col-lg-8">
                            <input  class="form-control " name="did" id="devId2"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3">网站地址</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control " name="pwebsiteurl" id="websiteUrl"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3">网站备案号</label>
                        <div class="col-lg-8">
                            <input type="url" class="form-control " name="pwebsitenum" id="websiteNumber"/>
                        </div>
                    </div>

                    <div class="form-group" >
                        <label class="control-label col-lg-3" ></label>
                        <div class="col-lg-8">

                            <input type="button" class="btn btn-white pull-right "  style="margin-top: 20px; " data-dismiss="modal" value="关闭" />
                            <input type="button" class="btn btn-success pull-right" onclick="toChange()" data-dismiss="modal" style="margin-right: 10px;margin-top:20px  " value="提交"/>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer  " >
            </div>
        </div>
    </div>
</div>



<section class="panel" id="tableDiv">
    <header class="panel-heading">
        <label class="text-center" >广告位管理</label>
        <i class="icon-info-sign text-muted" data-toggle="popover" data-html="true" data-placement="top" data-content="The datatables use ajax to load the data. please put this file on a server to preview." title="" data-trigger="hover" data-original-title="Help"></i>
        <input type="button" class="btn btn-inverse pull-right col-lg-1 " value="新增" data-toggle="modal" data-target="#meta">
    </header>
    <div class="pull-out" >
        <table  class="display" id="adSpaceManageTable"></table>
    </div>

</section>
<div  id="propertyDiv" style="display: none" style="width:800px">
    <button class="btn btn-white pull-left" onclick="toggle()">返回</button><br/><br/><br/>
    <div class="display" id="main" style="position: relative; overflow: hidden; width: 600px; height: 600px; padding: 0px; margin: 0px; border-width: 0px; cursor: pointer;" ></div>
</div>



<!-- datatables -->

<!-- Sparkline Chart -->
<!--<script src="js/charts/sparkline/jquery.sparkline.min.js"></script>-->
<!-- Easy Pie Chart -->
<!--<script src="js/charts/easypiechart/jquery.easy-pie-chart.js"></script>-->


<script src="js/echarts.min.js"></script>
<script src="js/developer/adManage.js"></script>

</body>
</html>